<block name="left">
<div class="layui-side-scroll">
  <ul class="layui-nav layui-nav-tree" lay-filter="demo">
  <li class="layui-nav-item layui-nav-itemed">
    <a href="javascript:;">渠道管理</a>
    <dl class="layui-nav-child">
      <dd><a href="/admin/index/index">渠道列表</a></dd>
      <dd><a href="/admin/index/addshop">添加渠道</a></dd>
    </dl>
  </li>
  <li class="layui-nav-item layui-nav-itemed">
    <a href="javascript:;">服务管理</a>
    <dl class="layui-nav-child">
      <dd><a href="/admin/service/index">服务列表</a></dd>
      <dd><a href="/admin/service/addservice">添加服务</a></dd>
    </dl>
  </li>
  <li class="layui-nav-item"><a href="/admin/order/index">订单管理</a></li>
  <li class="layui-nav-item"><a href="/admin/admin/admin">管理员管理</a></li>
</ul>
</div>
</block>
<script type="text/javascript" src="/js/jquery-1.10.1.min.js"></script>
<script>
$(document).ready(function(){ 
  $(".layui-nav-item a").each(function(){ 
    if(this.href==String(window.location)){ 
      $(this).addClass("curee"); 
    }
  });  
}); 
</script>